package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.base.ResponseResult;
import com.zzyl.dto.NursingPlanDto;
import com.zzyl.vo.NursingPlanVo;

import java.util.List;

public interface NursingPlanService {
    /**
     * 获取所有护理计划信息
     */
    List<NursingPlanVo> getAllPlans();

    /**
     * 新增护理计划
     */
    void addPlan(NursingPlanDto nursingPlanDto);

    /**
     * 分页查询
     */
    PageResponse<NursingPlanVo> search(String name, Integer status, Integer pageNum, Integer pageSize);

    /**
     * 根据ID查询
     */
    NursingPlanVo getPlanById(Long id);
    /**
     * 根据Id更新
     */
    ResponseResult updateById(NursingPlanDto nursingPlanDto, Long id);
    /**
     * 根据ID删除
     */
    ResponseResult deleteById(Long id);
    /**
     * 禁用或启用
     */
    ResponseResult enableOrDisable(Long id, Integer status);

}
